<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
   <form action="/user/login" method="post">
       <input type="hidden" th:if="${_csrf}!=null"th:value="${_csrf.token}"name="_csrf "/>
       用户名: <input type="text" name="username">
          <br>
       密码:<input type="text" name="password">
       记住我:<input type="checkbox" name="remember-me">
       <input type="submit" value="login">
   </form>
</body>
</html>